package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Salary;
import cn.wolfcode.crm.query.SalaryQueryObject;

import java.util.List;

public interface SalaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Salary record);

    List<Salary> selectAll();

    /**
     * 分页
     * @param qo 查询参数
     */
    int queryForCount(SalaryQueryObject qo);

    List<Salary> queryForList(SalaryQueryObject qo);

    Salary getById(Long id);
}